package cn.lhn.ridersclub.service;

import cn.lhn.ridersclub.dto.LoginResult;
import cn.lhn.ridersclub.entity.Login;

public interface LoginService {

    void registerLogin(long id, String email, String password);

    void closeLogin(long id);

    LoginResult loginByPassword(String email, String password);

    LoginResult loginByCaptcha(String email, String code);

    void updatePassword(String email, String code, String password);

    Login getLoginByEmail(String email);
}
